using System;
using NUnit.Framework;
using RFS.BizLogic;
using RFS.BizLogic.PaiShi.Ports;
using RFS.BizLogic.Sys;
using RFS.BizLogic.utils;
using RFS.Domain.PaiShi;
using ycx;

namespace IntergrationTest.PaiShi
{
    public class ITRepoPaiShi
    {
        private IAntiObject _en;


        [SetUp]
        public void setup()
        {
            _en = Starter.StartApp(false);
        }


        [Test]
        public void T10_GetRandomSeeds_Given_JiaoYiDayBasedBatch_ShouldReturnRandomSeeds()
        {
       
            
            // _en.RegisterMock4Test(mm.Object);
            var m = _en.Get<IRepoPaiShi>();
            var t = m.GetJsonDataSetTotal(BizFlowNodeEnum.FaHuo, DateTime.Parse("2024-12-13") );
            t.Echo();


            m.TryInit();



        }

        [Test]
        public void T10_vs_reate()
        {


            var log= _en.Get<ILog>();

            // _en.RegisterMock4Test(mm.Object);
            var m = _en.Get<IRepoPaiShi>();

            m.TryInit();





        }
         
    }
}